package com.lancoo.znbkxx.teacher.aibkTestCoach.paperToPreview.aibkPreviewZW

import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.lancoo.znbkxx.teacher.R
import com.lancoo.znbkxx.teacher.aibkTestCoach.kBase.KBaseFragment
import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.PaperPreviewInfor

class PreviewFragmentParentZw (
        val activity: AppCompatActivity,
        val paperPreviewInfor: PaperPreviewInfor,
        val index_A:Int,
        val index_B:Int,
        val index_C:Int
) : KBaseFragment() {

    override fun createLayout(): Int {
        return R.layout.aibk_include_preview_answer_zw_view
    }

    override fun initView(view: View?) {
        val fragment = PreviewChildFragmentWord(activity, paperPreviewInfor,index_A,index_B,index_C)
        childFragmentManager.beginTransaction().add(R.id.Fragment, fragment).commit()
    }
}